# write by hasaki
# first edit on 2018/01/04
# last change on 2018/01/04
# 伪造的bitmexrset接口
from flask import Flask,request
app=Flask(__name__)
i=0
@app.route('/')
def hasaki():
    '''测试flasK的展示'''
    return "你能看见吗？,真的吗"

@app.route('/order',methods=['POST','GET'])
def order():
    '''接收交易引擎的order数据'''
    if request.method=='POST':
        return "下单了"
    else:
        return "不是post方法"

if __name__=='__main__':
    app.run(debug=True)